Perl extension to test methods for warnings.

This requires perl-Sub-Uplevel and perl-tree-dagnode. 
